package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName security_list
 */
@TableName(value ="security_list")
@Data
public class SecurityList implements Serializable {
    /**
     *
     */
    @TableId(value = "record_id")
    private Integer recordId;

    /**
     * 工号/姓名
     */
    @TableField(value = "pin")
    private String pin;

    /**
     * 打卡时间
     */
    @TableField(value = "time")
    private String time;

    /**
     * 设备序列号
     */
    @TableField(value = "SN")
    private String sn;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
